#ifndef GAME_INCLUDED
#define GAME_INCLUDED

#pragma once

#include <d3d11.h>
#include "Window.h"

#include "com_ptr.h"
#include "Renderer.h"
#include "Display.h"

class Game
{
public:
	Game(const std::string& title, bool windowed, int width, int height);
	bool Run();

private:
	// setup dummy: sampler state + rasterizer + set rendertarget
	void Setup(int width, int height);

	Renderer m_Renderer;  // there you go ;)
	Window m_Window;
	Display m_Display;
	com_ptr<ID3D11Device> m_Device;
	com_ptr<ID3D11DeviceContext> m_Context;
};

#endif